@import '@/style/imports';

.page-address-index {
  background: #f5f5f5;
  padding: 20px 20px 0 20px;
  .btn-wrap{
    padding: 20px 40px;
    border: transparent 1px solid;
  }
  .member-address-list {
    // /*  #ifdef  h5  */
    // padding: 48px 30px;
    // /*  #endif  */
    margin-top: 20px;

    .address-item__content{
      .address-item__detail_box{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #e6e6e6;
        .address-item__unchecked{
          margin-top: 0;
        }
      }
    }

  }
  .address-harvest{
    border-radius: 16px;
  }
  .address-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;

    &.disabled {
      opacity: 0.6;
    }
    &__unchecked {
      margin-top: 25px;
      display: block;
      width: 32px;
      height: 32px;
      border: 1px solid $color-brand-primary;
      background: #ffffff;
      box-sizing: border-box;
      border-radius: 50%;
      overflow: hidden;
    }
    &__checked {
      margin-top: 25px;
      color: $color-brand-primary;
      font-size: 38px;
    }
    &__content {
      flex: 1;
      background: #ffffff;
      box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.07);
      border-radius: 16px;
      // margin-left: 12px;
      padding: 15px;
    }
    &__title {
      color: #010101;
      margin-bottom: 23px;
    }
    &__info {
      margin-right: 20px;
      &_tel{
        font-size: 19px;
        color: #666;
      }
    }
    &__detail {
      @include multi-ellipsis(2);
      margin: 0 40px 17px 0;
      color: #0d0d0d;

    }
  }
  .address-item__footer {
    display: flex;
    justify-content: space-between;
    color: #9d9d9d;
    padding-top: 19px;
    &_default {
      display: flex;
      font-size: 23px;
      .address-item__unchecked{
        margin: 0 14px 0 0;
      }
    }
    .default__icon {
      margin-right: 14px;
      vertical-align: middle;
      font-size: 32px;
    }
    .default__checked {
      color: $color-brand-primary;
    }
    .default-text {
      vertical-align: middle;
    }
    &_edit {
      font-size: 23px;
      display: flex;
    }
    .footer-text {
      font-size: 23px;
      margin-right: 27px;
      display: flex;
      &:last-child {
        margin-right: 0px;
      }
    }
    .footer-icon {
      font-size: 26px;
      margin-right: 11px;
    }
  }
  .member-address-add {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 80px;
    color: #ffffff;
    text-align: center;
    line-height: 80px;
    font-size: 26px;
  }
}
